//
//  Student.h
//  05- 循环遍历
//
//  Created by mafeng on 16/7/8.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Student : NSObject
@property (nonatomic, retain) NSString *name;
@property (nonatomic, assign) NSInteger age;
- (NSComparisonResult)compareByName:(Student *)anotherPerson;
- (NSComparisonResult)compareByAge:(Student *)anotherPerson;
@end
